package com.wx.tnsbasedata.mapper;

import com.wx.tnsbasedata.model.CityModel;
import com.wx.tnsbasedata.model.vo.CityOrderVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 林建权
 * @version 1.0
 * @date 2020/7/24 17:27
 */
@Mapper
public interface CityMapper {
    List<CityModel> findAll();

    int insert(CityModel cityModel);

    int update(CityModel cityModel);

    int delete(Integer id);

    List<CityOrderVo> findAllOrder();
}
